gtk4.git
12 years agoRestore gtkimagemenuitem.c
Emmanuele Bassi [Sat, 20 Jul 2013 09:47:44 +0000 (10:47 +0100)]
Restore gtkimagemenuitem.c

It got lost in commit 0aa57d26b53a39d0f95bc42d34abd70f4f32406b and it
broke the build.

12 years agoClean up includes in gtk/deprecated/
Matthias Clasen [Sat, 20 Jul 2013 02:48:12 +0000 (22:48 -0400)]
Clean up includes in gtk/deprecated/

Purely cosmetic.

12 years agoDrop some unnecessary includes
Matthias Clasen [Sat, 20 Jul 2013 02:32:23 +0000 (22:32 -0400)]
Drop some unnecessary includes

Drop includes of deprecated headers where they are
no longer needed.

12 years agoMove wholly deprecated classes to gtk/deprecated/
Matthias Clasen [Sat, 20 Jul 2013 00:29:11 +0000 (20:29 -0400)]
Move wholly deprecated classes to gtk/deprecated/

We've recently a number of classes wholly. For these cases,
move the headers and sources to gtk/deprecated/ and adjust
Makefiles and includes accordingly.

Affected classes:
GtkAction
GtkActionGroup
GtkActivatable
GtkIconFactory
GtkImageMenuItem
GtkRadioAction
GtkRecentAction
GtkStock
GtkToggleAction
GtkUIManager

12 years agogtk/gtkrecentchooser.c: Avoid C99isms
Chun-wei Fan [Fri, 19 Jul 2013 10:38:27 +0000 (18:38 +0800)]
gtk/gtkrecentchooser.c: Avoid C99isms

Declare variables at the top to the block.

G_GNUC_BEGIN_IGNORE_DEPRECATIONS and G_GNUC_END_IGNORE_DEPRECATIONS with
a ';' at the end is still considered a statement, even if these macros
expand to nothing, which C89 compilers don't really like (oddly speaking)-
but this is life.

12 years agogdk/gdkoffscreenwindow.c: Include fallback-c89.c
Chun-wei Fan [Fri, 19 Jul 2013 10:33:42 +0000 (18:33 +0800)]
gdk/gdkoffscreenwindow.c: Include fallback-c89.c

This is necessary as we are using round() here, which is not universally
available.

12 years agoUpdate gtk3-demo Visual C++ Projects
Chun-wei Fan [Fri, 19 Jul 2013 10:32:38 +0000 (18:32 +0800)]
Update gtk3-demo Visual C++ Projects

Remove the demos were removed due to deprecation of APIs

12 years ago[l10n] Updated Italian translation.
Milo Casagrande [Fri, 19 Jul 2013 07:56:02 +0000 (09:56 +0200)]
[l10n] Updated Italian translation.

12 years agotests: don't use tearoff menus in combobox
William Jon McCann [Thu, 18 Jul 2013 02:53:39 +0000 (22:53 -0400)]
tests: don't use tearoff menus in combobox

12 years agoDeprecate tear off menus
William Jon McCann [Thu, 18 Jul 2013 02:52:53 +0000 (22:52 -0400)]
Deprecate tear off menus

12 years agoUpdated Czech translation
Marek Černocký [Thu, 18 Jul 2013 13:24:16 +0000 (15:24 +0200)]
Updated Czech translation

12 years agoUpdated Czech translation
Marek Černocký [Thu, 18 Jul 2013 13:16:32 +0000 (15:16 +0200)]
Updated Czech translation

12 years agoUse proper quotation marks
William Jon McCann [Thu, 18 Jul 2013 02:37:50 +0000 (22:37 -0400)]
Use proper quotation marks

As per https://wiki.gnome.org/GnomeOS/Design/Whiteboards/Typography

12 years agodocs: use a separate platform support section
William Jon McCann [Thu, 18 Jul 2013 01:38:13 +0000 (21:38 -0400)]
docs: use a separate platform support section

12 years agodocs: move core and theming under widgets
William Jon McCann [Thu, 18 Jul 2013 01:32:42 +0000 (21:32 -0400)]
docs: move core and theming under widgets

They aren't that interesting.

12 years agodocs: move stock to deprecated
William Jon McCann [Thu, 18 Jul 2013 01:31:44 +0000 (21:31 -0400)]
docs: move stock to deprecated

12 years agodocs: update the order of widgets to put recommended ones on top
William Jon McCann [Thu, 18 Jul 2013 01:24:51 +0000 (21:24 -0400)]
docs: update the order of widgets to put recommended ones on top

12 years agodocs: move imagemenuitem to deprecated
William Jon McCann [Thu, 18 Jul 2013 01:15:37 +0000 (21:15 -0400)]
docs: move imagemenuitem to deprecated

12 years agodocs: move builder to under applications
William Jon McCann [Thu, 18 Jul 2013 01:11:35 +0000 (21:11 -0400)]
docs: move builder to under applications

12 years agodocs: move action support into deprecated
William Jon McCann [Thu, 18 Jul 2013 01:11:01 +0000 (21:11 -0400)]
docs: move action support into deprecated

12 years agodocs: move application support to the top of the widget list
William Jon McCann [Thu, 18 Jul 2013 01:10:29 +0000 (21:10 -0400)]
docs: move application support to the top of the widget list

12 years agodocs: Use sections in the widget gallery
William Jon McCann [Thu, 18 Jul 2013 00:45:41 +0000 (20:45 -0400)]
docs: Use sections in the widget gallery

12 years agodocs: remove deprecated font and color selectors from gallery
William Jon McCann [Wed, 17 Jul 2013 23:49:29 +0000 (19:49 -0400)]
docs: remove deprecated font and color selectors from gallery

12 years agodocs: update generated images of widgets
William Jon McCann [Wed, 17 Jul 2013 23:18:12 +0000 (19:18 -0400)]
docs: update generated images of widgets

12 years agoSet reasonable minimum size for the file chooser
William Jon McCann [Wed, 17 Jul 2013 22:56:08 +0000 (18:56 -0400)]
Set reasonable minimum size for the file chooser

At small sizes it just looks broken.

12 years agoAdd a bit of margin on the statusbar
William Jon McCann [Wed, 17 Jul 2013 20:52:23 +0000 (16:52 -0400)]
Add a bit of margin on the statusbar

So that the text doesn't touch the side of the window. And it
looks much cleaner.

12 years agodocs: make the spinner spin for the screenshot
William Jon McCann [Wed, 17 Jul 2013 23:11:16 +0000 (19:11 -0400)]
docs: make the spinner spin for the screenshot

12 years agodocs: use a nicer image for the screenshot
William Jon McCann [Wed, 17 Jul 2013 21:53:03 +0000 (17:53 -0400)]
docs: use a nicer image for the screenshot

12 years agodocs: don't vertically fill statusbar
William Jon McCann [Wed, 17 Jul 2013 21:16:01 +0000 (17:16 -0400)]
docs: don't vertically fill statusbar

12 years agodocs: remove deprecated font selector screenshot
William Jon McCann [Wed, 17 Jul 2013 19:17:48 +0000 (15:17 -0400)]
docs: remove deprecated font selector screenshot

12 years agodocs: remove deprecated color selection screenshot
William Jon McCann [Wed, 17 Jul 2013 19:09:10 +0000 (15:09 -0400)]
docs: remove deprecated color selection screenshot

12 years agodocs: update copyright text
William Jon McCann [Wed, 17 Jul 2013 19:06:15 +0000 (15:06 -0400)]
docs: update copyright text

12 years agodocs: make bar widgets stretch horizontally in shots
William Jon McCann [Wed, 17 Jul 2013 19:03:49 +0000 (15:03 -0400)]
docs: make bar widgets stretch horizontally in shots

12 years agodocs: don't use an icon by default in the combobox shot
William Jon McCann [Wed, 17 Jul 2013 23:34:22 +0000 (19:34 -0400)]
docs: don't use an icon by default in the combobox shot

12 years agoshooter: Make sure to free the surface
Jasper St. Pierre [Thu, 18 Jul 2013 00:09:56 +0000 (20:09 -0400)]
shooter: Make sure to free the surface

12 years agoAdd AudioMicMute
Matthias Clasen [Wed, 17 Jul 2013 21:51:33 +0000 (17:51 -0400)]
Add AudioMicMute

This keysym was recently added to XF86keysym.h.

12 years agoshooter: Use the reftests code for taking screenshots
Jasper St. Pierre [Wed, 17 Jul 2013 20:54:42 +0000 (16:54 -0400)]
shooter: Use the reftests code for taking screenshots

12 years agogdkkeysyms-update: Remove workarounds for old bugs
Jasper St. Pierre [Wed, 17 Jul 2013 20:39:04 +0000 (16:39 -0400)]
gdkkeysyms-update: Remove workarounds for old bugs

12 years agogdkkeysyms-update: Just overwrite gdkkeysyms.h
Jasper St. Pierre [Wed, 17 Jul 2013 20:27:31 +0000 (16:27 -0400)]
gdkkeysyms-update: Just overwrite gdkkeysyms.h

12 years agodoc-shooter: Remove inappropriate menu usage
Jasper St. Pierre [Wed, 17 Jul 2013 19:04:20 +0000 (15:04 -0400)]
doc-shooter: Remove inappropriate menu usage

12 years agodocs: Remove old refcounting file
Jasper St. Pierre [Wed, 17 Jul 2013 18:48:00 +0000 (14:48 -0400)]
docs: Remove old refcounting file

This references GTK+2-era objects, and isn't really useful anymore.

12 years agodocs: use informal figures for screenshots
William Jon McCann [Wed, 17 Jul 2013 17:09:28 +0000 (13:09 -0400)]
docs: use informal figures for screenshots

12 years agodocs: update getting started screenshots
William Jon McCann [Wed, 17 Jul 2013 13:36:00 +0000 (09:36 -0400)]
docs: update getting started screenshots

12 years agodocs: add filename hints for getting started examples
William Jon McCann [Wed, 17 Jul 2013 13:21:08 +0000 (09:21 -0400)]
docs: add filename hints for getting started examples

12 years agodocs: fix use of multiplication typography
William Jon McCann [Wed, 17 Jul 2013 13:19:11 +0000 (09:19 -0400)]
docs: fix use of multiplication typography

12 years agoTajik translation updated
Victor Ibragimov [Wed, 17 Jul 2013 06:54:15 +0000 (11:54 +0500)]
Tajik translation updated

12 years agogdk/wayland: cope with the compositor implementing an older protocol than us
Giovanni Campagna [Fri, 12 Jul 2013 14:49:52 +0000 (16:49 +0200)]
gdk/wayland: cope with the compositor implementing an older protocol than us

If we bind to a global with an higher version than implemented, or
we make requests that appeared in a later version, we would get
fatal wayland errors.

https://bugzilla.gnome.org/show_bug.cgi?id=704104

12 years agoTajik translation updated
Victor Ibragimov [Tue, 16 Jul 2013 08:43:57 +0000 (13:43 +0500)]
Tajik translation updated

12 years agoreftests: Fix broken reftest
Benjamin Otte [Mon, 15 Jul 2013 17:42:29 +0000 (19:42 +0200)]
reftests: Fix broken reftest

GtkMenuItem has no accel group.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 15 Jul 2013 17:40:24 +0000 (19:40 +0200)]
Updated Norwegian bokmål translation

12 years agoFix infobar docs to not mention type colors
William Jon McCann [Mon, 15 Jul 2013 16:37:58 +0000 (12:37 -0400)]
Fix infobar docs to not mention type colors

The theme may not use colors to distinguish the info bar
message types.

12 years agoMake the info bar action area border the same as the internal spacing
William Jon McCann [Mon, 15 Jul 2013 13:49:32 +0000 (09:49 -0400)]
Make the info bar action area border the same as the internal spacing

Using a consistent spacing feels much more polished.

12 years agoMake info bar action area horizontal
William Jon McCann [Mon, 15 Jul 2013 13:33:44 +0000 (09:33 -0400)]
Make info bar action area horizontal

A vertical action area causes the info bar to be imposingly large.
This defeats the whole point of the info bar which is to be
unobtrusive. Not to mention it is impossible to make it look
and feel good.

12 years agoBug 704216: Fix prototype for gdk_quartz_device_core_warp.
William Hua [Sun, 14 Jul 2013 22:07:05 +0000 (18:07 -0400)]
Bug 704216: Fix prototype for gdk_quartz_device_core_warp.

12 years agoGtkSearchEntry: fix search_entry_clear_cb()
Sébastien Wilmet [Sat, 13 Jul 2013 19:07:08 +0000 (21:07 +0200)]
GtkSearchEntry: fix search_entry_clear_cb()

When the icon-release signal is emitted on a GtkSearchEntry, the
contents is now cleared only if it's for the secondary icon. The primary
icon can be used for another purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=704164

12 years agoUpdated Czech translation
Marek Černocký [Sun, 14 Jul 2013 09:39:17 +0000 (11:39 +0200)]
Updated Czech translation

12 years agoUpdated Czech translation
Marek Černocký [Sun, 14 Jul 2013 09:25:32 +0000 (11:25 +0200)]
Updated Czech translation

12 years agoUpdated Lithuanian properties translation
Aurimas Černius [Sat, 13 Jul 2013 15:01:09 +0000 (18:01 +0300)]
Updated Lithuanian properties translation

12 years agoUpdated Lithuanian UI translation
Aurimas Černius [Sat, 13 Jul 2013 14:38:25 +0000 (17:38 +0300)]
Updated Lithuanian UI translation

12 years ago[l10n] Update Tajik translation
Victor Ibragimov [Sat, 13 Jul 2013 13:39:22 +0000 (15:39 +0200)]
[l10n] Update Tajik translation

12 years agoTajik translation updated
Victor Ibragimov [Fri, 12 Jul 2013 12:22:38 +0000 (17:22 +0500)]
Tajik translation updated

12 years agoDeprecate and ignore gtk-entry-password-hint-timeout
William Jon McCann [Wed, 10 Jul 2013 16:13:12 +0000 (12:13 -0400)]
Deprecate and ignore gtk-entry-password-hint-timeout

This feature offers a number of benefits related to providing
feedback to the user when the password is masked. Some experts have
argued that password masking is harmful. I tend to agree with this
setting providing a better and more moderate solution. Some agree:
https://www.schneier.com/blog/archives/2009/07/the_pros_and_co.html

In order to further lessen the impact I've only enabled the feature
on the primary display since the likelyhood of a non-primary display
being visible by others is higher.

12 years agoDeprecate and ignore timeout-expand setting
William Jon McCann [Tue, 9 Jul 2013 20:47:59 +0000 (16:47 -0400)]
Deprecate and ignore timeout-expand setting

12 years agoDeprecate and ignore the timeout-initial and timeout-repeat settings
William Jon McCann [Tue, 9 Jul 2013 20:44:04 +0000 (16:44 -0400)]
Deprecate and ignore the timeout-initial and timeout-repeat settings

12 years agoUpdate git.mk, respects AC_CONFIG_AUX_DIR now
Behdad Esfahbod [Thu, 11 Jul 2013 19:28:49 +0000 (15:28 -0400)]
Update git.mk, respects AC_CONFIG_AUX_DIR now

12 years agoUpdate git.mk
Jasper St. Pierre [Thu, 11 Jul 2013 17:31:20 +0000 (13:31 -0400)]
Update git.mk

12 years agoIgnore extract-strings
Jasper St. Pierre [Thu, 11 Jul 2013 17:11:38 +0000 (13:11 -0400)]
Ignore extract-strings

12 years agotestsuite: Ignore generated .test files
Jasper St. Pierre [Thu, 11 Jul 2013 16:57:06 +0000 (12:57 -0400)]
testsuite: Ignore generated .test files

12 years agoAdd more .pc files to .gitignore
Jasper St. Pierre [Thu, 11 Jul 2013 16:46:24 +0000 (12:46 -0400)]
Add more .pc files to .gitignore

12 years agoTajik translation updated
Victor Ibragimov [Thu, 11 Jul 2013 15:13:07 +0000 (20:13 +0500)]
Tajik translation updated

12 years agoTajik translation updated
Victor Ibragimov [Thu, 11 Jul 2013 12:52:02 +0000 (17:52 +0500)]
Tajik translation updated

12 years agoTajik translation updated
Victor Ibragimov [Wed, 10 Jul 2013 08:51:32 +0000 (13:51 +0500)]
Tajik translation updated

12 years agoDelete gtk/extract-strings binary from source
Colin Walters [Wed, 10 Jul 2013 03:24:19 +0000 (23:24 -0400)]
Delete gtk/extract-strings binary from source

It was accidentally committed to git.

12 years agoBump version
Matthias Clasen [Wed, 10 Jul 2013 00:28:03 +0000 (20:28 -0400)]
Bump version

12 years ago3.9.8
Matthias Clasen [Tue, 9 Jul 2013 21:45:07 +0000 (17:45 -0400)]
3.9.8

12 years agoRemove debug spew
Matthias Clasen [Wed, 10 Jul 2013 00:06:23 +0000 (20:06 -0400)]
Remove debug spew

12 years agoDon't segfault when setting opacity on an offscreen window
Matthias Clasen [Wed, 10 Jul 2013 00:05:46 +0000 (20:05 -0400)]
Don't segfault when setting opacity on an offscreen window

This was causing the treeview tests to fail.

12 years agoRevert the private macro change for GtkToolButton
Matthias Clasen [Tue, 9 Jul 2013 23:18:08 +0000 (19:18 -0400)]
Revert the private macro change for GtkToolButton

There was a reason that GtkToolButton was not using the
G_DEFINE_TYPE macros - we need the klass argument to get
the proper button type at init time.

12 years agowayland: Handle the display connection erroring out
Rob Bradford [Tue, 9 Jul 2013 17:08:21 +0000 (18:08 +0100)]
wayland: Handle the display connection erroring out

wl_display_flush or wl_display_dispatch can return -1 if there is an
error on the display connection.

https://bugzilla.gnome.org/show_bug.cgi?id=703892

12 years agowayland: Don't clear revents until we've checked for G_IO_HUP
Kristian Høgsberg [Tue, 9 Jul 2013 22:35:06 +0000 (18:35 -0400)]
wayland: Don't clear revents until we've checked for G_IO_HUP

https://bugzilla.gnome.org/show_bug.cgi?id=703892

12 years agoFix a typo
Matthias Clasen [Tue, 9 Jul 2013 17:49:39 +0000 (13:49 -0400)]
Fix a typo

12 years agoDocument new environment variables
Matthias Clasen [Tue, 9 Jul 2013 14:07:10 +0000 (10:07 -0400)]
Document new environment variables

Explain GDK_SCALE and GDK_DPI_SCALE.

12 years agoAdd new api to the gtk docs
Matthias Clasen [Tue, 9 Jul 2013 13:52:48 +0000 (09:52 -0400)]
Add new api to the gtk docs

12 years agoAdd new gdk api to the docs
Matthias Clasen [Tue, 9 Jul 2013 13:43:18 +0000 (09:43 -0400)]
Add new gdk api to the docs

12 years agoDeprecate and hardcode gtk-recent-files-limit
William Jon McCann [Mon, 8 Jul 2013 20:42:44 +0000 (16:42 -0400)]
Deprecate and hardcode gtk-recent-files-limit

The GtkRecentChooser already has a property that can be used
to set this on a per widget basis and the recent manager already
has a max-age limit.

12 years agoplaces sidedbar: deal with lack of symbolics
Matthias Clasen [Tue, 9 Jul 2013 11:12:18 +0000 (07:12 -0400)]
places sidedbar: deal with lack of symbolics

Use g_themed_icon_new_with_default_fallbacks, so we don't end up
without icons when the theme doesn't have symbolic icons.

https://bugzilla.gnome.org/show_bug.cgi?id=703606

12 years agoContinue the deprecation of GtkIconSet
Kjell Ahlstedt [Fri, 5 Jul 2013 13:42:31 +0000 (15:42 +0200)]
Continue the deprecation of GtkIconSet

Deprecate gtk_icon_set_render_icon_surface() and gtk_image_get_icon_set(),
which take parameters of the deprecated GtkIconSet.

https://bugzilla.gnome.org/show_bug.cgi?id=703616

12 years agoFix some inconsistent deprecations
Kjell Ahlstedt [Fri, 5 Jul 2013 13:17:24 +0000 (15:17 +0200)]
Fix some inconsistent deprecations

Some functions had only a deprecation comment in the .c file, or only a
deprecation annotation in the .h file. Add the missing parts.

https://bugzilla.gnome.org/show_bug.cgi?id=703616

12 years agogtkrecentmanager: Avoid confusion between the meta-data and the actual resource.
aakash [Mon, 8 Jul 2013 21:41:27 +0000 (03:11 +0530)]
gtkrecentmanager: Avoid confusion between the meta-data and the actual resource.

Fixed the documentation to clarify that gtk_recent_info_get_visited
and gtk_recent_info_get_modified are actually about the recent info
meta-data rather than the resource itself.

https://bugzilla.gnome.org/show_bug.cgi?id=703827

12 years agoTajik translation updated
Victor Ibragimov [Tue, 9 Jul 2013 10:11:15 +0000 (15:11 +0500)]
Tajik translation updated

12 years agowayland: request appropriate compositor version to support buffer scale
Rob Bradford [Tue, 9 Jul 2013 09:04:12 +0000 (10:04 +0100)]
wayland: request appropriate compositor version to support buffer scale

With the introduction of the use of buffer scaling in ed4fcee4ct we
must request version 3 of the compositor as that is the version of the
surface interface that adds this new functionality. See the following
commit in weston:

commit a85118c1b85df6fbf8f896dca971a5b79a94da71
Author: Jason Ekstrand <jason@jlekstrand.net>
Date:   Thu Jun 27 20:17:02 2013 -0500

    Use wl_resource_create() for creating resources

    This commit sets the version numbers for all added/created objects.  The
    wl_compositor.create_surface implementation was altered to create a surface
    with the same version as the underlying wl_compositor.  Since no other
    "child interfaces" have version greater than 1, they were all hard-coded to
    version 1.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
https://bugzilla.gnome.org/show_bug.cgi?id=703817

12 years agodocs: Update the coding style
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:37 +0000 (00:09 +0100)]
docs: Update the coding style

We should mention that newly written code should not have the private
data pointer in the instance structure, and that private data should be
added using the new GObject macros.

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agotests: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:31 +0000 (00:09 +0100)]
tests: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogtk-demo: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:12 +0000 (00:09 +0100)]
gtk-demo: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agodeprecated: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:08:37 +0000 (00:08 +0100)]
deprecated: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogtk: Use new macros for defining private data
Emmanuele Bassi [Thu, 27 Jun 2013 19:02:52 +0000 (20:02 +0100)]
gtk: Use new macros for defining private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoa11y: Use new macros for defining private data
Emmanuele Bassi [Mon, 24 Jun 2013 18:13:44 +0000 (19:13 +0100)]
a11y: Use new macros for defining private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogdk: Use new macros for defining private data
Emmanuele Bassi [Mon, 24 Jun 2013 17:54:05 +0000 (18:54 +0100)]
gdk: Use new macros for defining private data

Drop the g_type_class_add_private() function, and use the macros
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoBump GLib dependency to 2.37.3
Emmanuele Bassi [Mon, 24 Jun 2013 17:52:05 +0000 (18:52 +0100)]
Bump GLib dependency to 2.37.3

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoGtkSearchBar: Don't show a close button by default
Bastien Nocera [Fri, 5 Jul 2013 14:05:56 +0000 (16:05 +0200)]
GtkSearchBar: Don't show a close button by default

And mention in which cases we should show one in the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=703656